﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cmsservice.Common
{
    public class Config
    {
        /// <summary>
        /// 文件服务器
        /// </summary>
        public static string FileServer
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["FileServer"];
            }
        }

        /// <summary>
        /// 文件服务存放文件的根目录
        /// </summary>
        public static string FileRoot
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["FileRoot"];
            }
        }

        /// <summary>
        /// 大文件下载地址
        /// </summary>
        public static string HttpBigFile
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["HttpBigFile"];
            }
        }

        /// <summary>
        /// 小文件下载地址
        /// </summary>
        public static string HttpSmallFile
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["HttpSmallFile"];
            }
        }
    }
}
